package com.example.springboot.service;

import com.example.springboot.common.Result;
import com.example.springboot.entity.Score;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IScoreService extends IService<Score> {
    Double getScore(Integer solutionId);
    Integer getCount(Integer solutionId);
    Double getScoreByUserAndSolution(Integer userId,Integer solutionId);
    boolean deleteBySolution(Integer solutionId);
    Result insertScore(Score score);
}
